package SpringBoot.spring_boot_starter_web.D02_指定使用Jetty;

import org.springframework.boot.Banner;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.security.SecurityAutoConfiguration;
import org.springframework.boot.autoconfigure.security.SecurityFilterAutoConfiguration;
import org.springframework.boot.builder.SpringApplicationBuilder;

/**
 * http://localhost:8888/hello
 */

@SpringBootApplication(
      exclude={SecurityAutoConfiguration.class, SecurityFilterAutoConfiguration.class}
    , scanBasePackages={"sdk.org.SpringBoot.spring_boot_starter_web.D02_指定使用Jetty"})
public class Application {
	public static void main(String[] args) {
		new SpringApplicationBuilder()
			.bannerMode(Banner.Mode.OFF)
	        .sources(Application.class)
	        .run(new String[]{
	                "--debug=true"
	              , "--server.port=8888"
	        });
	}
}
